<?php

namespace app\yj\model;

use think\Model;

class MapsModel extends Model
{
    //
    protected $table = 'maps';

    public function setBoundsAttr($value)
    {
        return json_encode($value);
    }

    public function getBoundsAttr($value)
    {
        return json_decode($value, true);
    }
}
